﻿#region Imports

using System.Collections.Generic;

#endregion

namespace MammothMicro.SilverSocket.Shared
{
    /// <summary>
    /// The i message compressor.
    /// </summary>
    public interface IMessageCompressor
    {
        /// <summary>
        /// The compress.
        /// </summary>
        /// <param name="stream">
        /// The stream.
        /// </param>
        /// <returns>
        /// </returns>
        List<byte> Compress(List<byte> stream);

        /// <summary>
        /// The decompress.
        /// </summary>
        /// <param name="stream">
        /// The stream.
        /// </param>
        /// <returns>
        /// </returns>
        List<byte> Decompress(List<byte> stream);
    }
}